CHCP 65001
set gatewayName= "PandaCityInterfaceGateway"
set authrName= "PandaCityInterfaceAuthorization"

net stop %gatewayName%
if %errorlevel% == 0 (
    echo "停止【"%gatewayName%"】"服务成功
) else (
    echo "停止【"%gatewayName%"】"服务失败！！！
)

net stop %authrName%
if %errorlevel% == 0 (
    echo "停止【"%authrName%"】"服务成功
) else (
    echo "停止【"%authrName%"】"服务失败！！！
)
echo "停止完成"
pause